package ocrs;

import javax.jdo.annotations.Persistent;

public class StringPlusCharacter 
{
    @Persistent
    private String theString;
    
    @Persistent
    private char theChar;
    
    
    public StringPlusCharacter()
    {
    	theString = "";
    	theChar = ' ';
    }
    
    
    public StringPlusCharacter(String theString, char theChar)
    {
    	// this will help will searching the array (null pointer exceptions)
    	if(theString != null)
    	    this.theString = theString;
    	
    	else
    		this.theString = "";
    	
    	this.theChar = theChar;
    }
    
    
    public String getTheString()
    {
        return theString;
    }
    
    
    public char getTheChar()
    {
        return theChar;
    }
    
    
    public void setTheString(String newString)
    {
        theString = newString;	
    }
    
    
    public void setTheChar(char newChar)
    {
    	theChar = newChar;
    }
}
